package com.yonyou.ncmm_pac_pda;

import com.yonyou.uap.um.application.ApplicationContext;
import com.yonyou.uap.um.base.*;
import com.yonyou.uap.um.common.*;
import com.yonyou.uap.um.third.*;
import com.yonyou.uap.um.control.*;
import com.yonyou.uap.um.core.*;
import com.yonyou.uap.um.binder.*;
import com.yonyou.uap.um.runtime.*;
import com.yonyou.uap.um.lexer.*;
import com.yonyou.uap.um.widget.*;
import com.yonyou.uap.um.widget.UmpSlidingLayout.SlidingViewType;
import com.yonyou.uap.um.log.ULog;
import java.util.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.webkit.*;
import android.content.*;
import android.graphics.*;
import android.widget.ImageView.ScaleType;

public abstract class TransOutQueryActivity extends UMWindowActivity {

	protected UMWindow TransOutQuery = null;
protected XVerticalLayout viewPage0 = null;
protected XHorizontalLayout navigatorbar0 = null;
protected UMButton button0 = null;
protected UMLabel label0 = null;
protected UMButton button3 = null;
protected XVerticalLayout panel0 = null;
protected XHorizontalLayout panel1 = null;
protected UMLabel label2 = null;
protected UMLabel qmaterial = null;
protected UMImageButton imagebutton0 = null;
protected XHorizontalLayout panel2 = null;
protected UMLabel label7 = null;
protected UMTextbox qbillcode = null;
protected XHorizontalLayout panel3 = null;
protected UMLabel label9 = null;
protected UMLabel qdept = null;
protected UMImageButton imagebutton1 = null;
protected XHorizontalLayout panel4 = null;
protected UMLabel label14 = null;
protected UMLabel qoutorg = null;
protected UMImageButton imagebutton2 = null;
protected XHorizontalLayout panel11 = null;
protected UMLabel label1 = null;
protected UMLabel qinorg = null;
protected UMImageButton imagebutton3 = null;
protected XHorizontalLayout panel5 = null;
protected UMLabel label19 = null;
protected UMTextbox qbatchcode = null;
protected XHorizontalLayout panel6 = null;
protected UMLabel label21 = null;
protected UMDateEdit qbilldatestar = null;
protected XHorizontalLayout panel7 = null;
protected UMLabel label23 = null;
protected UMDateEdit qbilldateend = null;
protected XHorizontalLayout panel8 = null;
protected UMLabel label25 = null;
protected UMDateEdit qplanoutdatestar = null;
protected XHorizontalLayout panel9 = null;
protected UMLabel label27 = null;
protected UMDateEdit qplanoutdateend = null;
protected XHorizontalLayout panel10 = null;
protected UMButton button2 = null;

	
	protected final static int ID_TRANSOUTQUERY = 515502291;
protected final static int ID_VIEWPAGE0 = 1497584834;
protected final static int ID_NAVIGATORBAR0 = 682852724;
protected final static int ID_BUTTON0 = 753567059;
protected final static int ID_LABEL0 = 2036052236;
protected final static int ID_BUTTON3 = 636894309;
protected final static int ID_PANEL0 = 986021474;
protected final static int ID_PANEL1 = 1326601205;
protected final static int ID_LABEL2 = 175494947;
protected final static int ID_QMATERIAL = 1321414326;
protected final static int ID_IMAGEBUTTON0 = 1872379084;
protected final static int ID_PANEL2 = 1070767876;
protected final static int ID_LABEL7 = 556613413;
protected final static int ID_QBILLCODE = 428270842;
protected final static int ID_PANEL3 = 971640639;
protected final static int ID_LABEL9 = 1118045011;
protected final static int ID_QDEPT = 323506467;
protected final static int ID_IMAGEBUTTON1 = 2040626806;
protected final static int ID_PANEL4 = 1794748203;
protected final static int ID_LABEL14 = 1629730472;
protected final static int ID_QOUTORG = 1942254206;
protected final static int ID_IMAGEBUTTON2 = 216059373;
protected final static int ID_PANEL11 = 428497953;
protected final static int ID_LABEL1 = 809216337;
protected final static int ID_QINORG = 2032480078;
protected final static int ID_IMAGEBUTTON3 = 1429638671;
protected final static int ID_PANEL5 = 1646476461;
protected final static int ID_LABEL19 = 558500629;
protected final static int ID_QBATCHCODE = 516458788;
protected final static int ID_PANEL6 = 1998227190;
protected final static int ID_LABEL21 = 1286083515;
protected final static int ID_QBILLDATESTAR = 692952950;
protected final static int ID_PANEL7 = 1815621673;
protected final static int ID_LABEL23 = 925626754;
protected final static int ID_QBILLDATEEND = 2104428065;
protected final static int ID_PANEL8 = 855792303;
protected final static int ID_LABEL25 = 470655895;
protected final static int ID_QPLANOUTDATESTAR = 1711830518;
protected final static int ID_PANEL9 = 1334401587;
protected final static int ID_LABEL27 = 1532685843;
protected final static int ID_QPLANOUTDATEEND = 980107287;
protected final static int ID_PANEL10 = 305744997;
protected final static int ID_BUTTON2 = 938373643;

	
	
	@Override
	public String getControllerName() {
		return "TransOutQueryController";
	}
	
	@Override
	public String getContextName() {
		return "";
	}

	@Override
	public String getNameSpace() {
		return "com.yonyou.ncmm_pac_pda";
	}

	protected void onCreate(Bundle savedInstanceState) {
		ULog.logLC("onCreate", this);
		super.onCreate(savedInstanceState);
        onInit(savedInstanceState);
        
	}
	
	@Override
	protected void onStart() {
		ULog.logLC("onStart", this);
		
		super.onStart();
	}

	@Override
	protected void onRestart() {
		ULog.logLC("onRestart", this);
		
		super.onRestart();
	}

	@Override
	protected void onResume() {
		ULog.logLC("onResume", this);
		
		super.onResume();
	}

	@Override
	protected void onPause() {
		ULog.logLC("onPause", this);
		
		super.onPause();
	}

	@Override
	protected void onStop() {
		ULog.logLC("onStop", this);
		
		super.onStop();
	}

	@Override
	protected void onDestroy() {
		ULog.logLC("onDestroy", this);
		
		super.onDestroy();
	}
	
	public  void onInit(Bundle savedInstanceState) {
		ULog.logLC("onInit", this);
		UMActivity context = this;
		registerControl();
		this.getContainer();
		
		/*
		 new Thread() {
			 public void run() {
				 UMPDebugClient.startServer();
			 }
		 }.start();
		*/
		String sys_debug = ApplicationContext.getCurrent(this).getValue("sys_debug");
		if (sys_debug != null && sys_debug.equalsIgnoreCase("true")) {
			UMPDebugClient.waitForDebug();
		}

		IBinderGroup binderGroup = this;
		currentPage = getCurrentWindow(context, binderGroup);
super.setContentView(currentPage);

		
	}
	
	private void registerControl() {
		  idmap.put("TransOutQuery",ID_TRANSOUTQUERY);
  idmap.put("viewPage0",ID_VIEWPAGE0);
  idmap.put("navigatorbar0",ID_NAVIGATORBAR0);
  idmap.put("button0",ID_BUTTON0);
  idmap.put("label0",ID_LABEL0);
  idmap.put("button3",ID_BUTTON3);
  idmap.put("panel0",ID_PANEL0);
  idmap.put("panel1",ID_PANEL1);
  idmap.put("label2",ID_LABEL2);
  idmap.put("qmaterial",ID_QMATERIAL);
  idmap.put("imagebutton0",ID_IMAGEBUTTON0);
  idmap.put("panel2",ID_PANEL2);
  idmap.put("label7",ID_LABEL7);
  idmap.put("qbillcode",ID_QBILLCODE);
  idmap.put("panel3",ID_PANEL3);
  idmap.put("label9",ID_LABEL9);
  idmap.put("qdept",ID_QDEPT);
  idmap.put("imagebutton1",ID_IMAGEBUTTON1);
  idmap.put("panel4",ID_PANEL4);
  idmap.put("label14",ID_LABEL14);
  idmap.put("qoutorg",ID_QOUTORG);
  idmap.put("imagebutton2",ID_IMAGEBUTTON2);
  idmap.put("panel11",ID_PANEL11);
  idmap.put("label1",ID_LABEL1);
  idmap.put("qinorg",ID_QINORG);
  idmap.put("imagebutton3",ID_IMAGEBUTTON3);
  idmap.put("panel5",ID_PANEL5);
  idmap.put("label19",ID_LABEL19);
  idmap.put("qbatchcode",ID_QBATCHCODE);
  idmap.put("panel6",ID_PANEL6);
  idmap.put("label21",ID_LABEL21);
  idmap.put("qbilldatestar",ID_QBILLDATESTAR);
  idmap.put("panel7",ID_PANEL7);
  idmap.put("label23",ID_LABEL23);
  idmap.put("qbilldateend",ID_QBILLDATEEND);
  idmap.put("panel8",ID_PANEL8);
  idmap.put("label25",ID_LABEL25);
  idmap.put("qplanoutdatestar",ID_QPLANOUTDATESTAR);
  idmap.put("panel9",ID_PANEL9);
  idmap.put("label27",ID_LABEL27);
  idmap.put("qplanoutdateend",ID_QPLANOUTDATEEND);
  idmap.put("panel10",ID_PANEL10);
  idmap.put("button2",ID_BUTTON2);

	}
	
	public void onLoad() {
		ULog.logLC("onLoad", this);
		if(currentPage!=null) {
			currentPage.onLoad();
		}
	
		{ //panel0 - action:panel0_onload
    UMEventArgs args = new UMEventArgs(TransOutQueryActivity.this);
    actionPanel0_onload(panel0,args);

}

	}
	
	public void onDatabinding() {
		ULog.logLC("onDatabinding", this);
		super.onDatabinding();
		
	}
	
	@Override
	public void onReturn(String methodName, Object returnValue) {
		
	}

	@Override
	public void onAfterInit() {
		ULog.logLC("onAfterInit", this);
		
		onLoad();
	}
	
		@Override
	public Map<String,String> getPlugout(String id) {
		XJSON from = this.getUMContext();
		Map<String,String> r = super.getPlugout(id);
		
		return r;	
	}
	
	
	
	public View getNavigatorbar0View(final UMActivity context,IBinderGroup binderGroup) {
navigatorbar0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_NAVIGATORBAR0
,"color","#323232"
,"padding-left","8"
,"font-size","17"
,"valign","center"
,"title","查询条件"
,"width","fill"
,"font-family","default"
,"background-image","navbar_login.png"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","8"
,"height","44.0"
);
button0 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON0
,"font-pressed-color","#e50011"
,"color","#ffffff"
,"onclick","action:button0_onclick"
,"width","44"
,"font-size","20"
,"font-family","default"
,"valign","center"
,"background-image","icon_back.png"
,"layout-type","hbox"
,"halign","center"
,"height","44"
);
navigatorbar0.addView(button0);
label0 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL0
,"width","0"
,"weight","1"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
navigatorbar0.addView(label0);
button3 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON3
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button3_onclick"
,"font-size","17"
,"valign","center"
,"widthwrap","54.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","清空值"
,"height","44"
);
navigatorbar0.addView(button3);

return navigatorbar0;
}
public View getPanel1View(final UMActivity context,IBinderGroup binderGroup) {
panel1 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL1
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label2 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL2
,"margin-left","5"
,"color","#000000"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","48.0"
,"content","物料"
,"height","fill"
);
panel1.addView(label2);
qmaterial = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_QMATERIAL
,"bindfield","qmaterial"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"height","fill"
);
panel1.addView(qmaterial);
imagebutton0 = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_IMAGEBUTTON0
,"font-pressed-color","#e50011"
,"color","#919191"
,"icon-pressed-image","btn_add_touch.png"
,"onclick","action:imagebutton0_onclick"
,"icon-height","40"
,"font-size","10"
,"valign","center"
,"icon-text-spacing","3"
,"imagebuttontype","icon"
,"icon-background-image","btn_add.png"
,"istogglebutton","false"
,"width","64"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"icon-width","40"
,"value","图标名称"
,"height","49"
);
panel1.addView(imagebutton0);

return panel1;
}
public View getPanel2View(final UMActivity context,IBinderGroup binderGroup) {
panel2 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL2
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label7 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL7
,"color","#333333"
,"font-size","15"
,"valign","center"
,"widthwrap","64.0"
,"content","单据号"
,"margin-right","4"
,"margin-left","5"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
panel2.addView(label7);
qbillcode = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_QBILLCODE
,"color","#666666"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","14"
,"bindfield","qbillcode"
,"width","0"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel2.addView(qbillcode);

return panel2;
}
public View getPanel3View(final UMActivity context,IBinderGroup binderGroup) {
panel3 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL3
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label9 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL9
,"margin-left","5"
,"color","#000000"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","64.0"
,"content","调出部门"
,"height","fill"
);
panel3.addView(label9);
qdept = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_QDEPT
,"bindfield","qdept"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"height","fill"
);
panel3.addView(qdept);
imagebutton1 = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_IMAGEBUTTON1
,"font-pressed-color","#e50011"
,"color","#919191"
,"icon-pressed-image","btn_add_touch.png"
,"onclick","action:imagebutton1_onclick"
,"icon-height","40"
,"font-size","10"
,"valign","center"
,"icon-text-spacing","3"
,"imagebuttontype","icon"
,"icon-background-image","btn_add.png"
,"istogglebutton","false"
,"width","64"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"icon-width","40"
,"value","图标名称"
,"height","49"
);
panel3.addView(imagebutton1);

return panel3;
}
public View getPanel4View(final UMActivity context,IBinderGroup binderGroup) {
panel4 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL4
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label14 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL14
,"margin-left","5"
,"color","#000000"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","80.0"
,"content","调出组织"
,"height","fill"
);
panel4.addView(label14);
qoutorg = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_QOUTORG
,"bindfield","qoutorg"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"height","fill"
);
panel4.addView(qoutorg);
imagebutton2 = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_IMAGEBUTTON2
,"font-pressed-color","#e50011"
,"color","#919191"
,"icon-pressed-image","btn_add_touch.png"
,"onclick","action:imagebutton2_onclick"
,"icon-height","40"
,"font-size","10"
,"valign","center"
,"icon-text-spacing","3"
,"imagebuttontype","icon"
,"icon-background-image","btn_add.png"
,"istogglebutton","false"
,"width","64"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"icon-width","40"
,"value","图标名称"
,"height","49"
);
panel4.addView(imagebutton2);

return panel4;
}
public View getPanel11View(final UMActivity context,IBinderGroup binderGroup) {
panel11 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL11
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"height","44"
);
label1 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL1
,"margin-left","5"
,"color","#000000"
,"width","wrap"
,"font-size","15"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","left"
,"widthwrap","80.0"
,"content","调入组织"
,"height","fill"
);
panel11.addView(label1);
qinorg = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_QINORG
,"bindfield","qinorg"
,"color","#000000"
,"width","0"
,"weight","1"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","right"
,"height","fill"
);
panel11.addView(qinorg);
imagebutton3 = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_IMAGEBUTTON3
,"font-pressed-color","#e50011"
,"color","#919191"
,"icon-pressed-image","btn_add_touch.png"
,"onclick","action:imagebutton3_onclick"
,"icon-height","40"
,"font-size","10"
,"valign","center"
,"icon-text-spacing","3"
,"imagebuttontype","icon"
,"icon-background-image","btn_add.png"
,"istogglebutton","false"
,"width","64"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"icon-width","40"
,"value","图标名称"
,"height","49"
);
panel11.addView(imagebutton3);

return panel11;
}
public View getPanel5View(final UMActivity context,IBinderGroup binderGroup) {
panel5 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL5
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label19 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL19
,"color","#333333"
,"font-size","15"
,"valign","center"
,"widthwrap","64.0"
,"content","批次号"
,"margin-right","4"
,"margin-left","5"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
panel5.addView(label19);
qbatchcode = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_QBATCHCODE
,"color","#666666"
,"maxlength","256"
,"padding-left","4"
,"weight","1"
,"font-size","14"
,"bindfield","qbatchcode"
,"width","0"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel5.addView(qbatchcode);

return panel5;
}
public View getPanel6View(final UMActivity context,IBinderGroup binderGroup) {
panel6 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL6
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label21 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL21
,"color","#333333"
,"font-size","15"
,"valign","center"
,"widthwrap","96.0"
,"content","单据日期从"
,"margin-right","4"
,"margin-left","5"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
panel6.addView(label21);
qbilldatestar = (UMDateEdit)ThirdControl.createControl(new UMDateEdit(context),ID_QBILLDATESTAR
,"color","#167ef8"
,"padding-left","4"
,"format","yyyy-MM-dd"
,"weight","1"
,"font-size","17"
,"bindfield","qbilldatestar"
,"width","0"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel6.addView(qbilldatestar);

return panel6;
}
public View getPanel7View(final UMActivity context,IBinderGroup binderGroup) {
panel7 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL7
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label23 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL23
,"color","#333333"
,"font-size","15"
,"valign","center"
,"widthwrap","96.0"
,"content","单据日期到"
,"margin-right","4"
,"margin-left","5"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
panel7.addView(label23);
qbilldateend = (UMDateEdit)ThirdControl.createControl(new UMDateEdit(context),ID_QBILLDATEEND
,"color","#167ef8"
,"padding-left","4"
,"format","yyyy-MM-dd"
,"weight","1"
,"font-size","17"
,"bindfield","qbilldateend"
,"width","0"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel7.addView(qbilldateend);

return panel7;
}
public View getPanel8View(final UMActivity context,IBinderGroup binderGroup) {
panel8 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL8
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label25 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL25
,"color","#333333"
,"font-size","15"
,"valign","center"
,"widthwrap","128.0"
,"content","计划发货日期从"
,"margin-right","4"
,"margin-left","5"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
panel8.addView(label25);
qplanoutdatestar = (UMDateEdit)ThirdControl.createControl(new UMDateEdit(context),ID_QPLANOUTDATESTAR
,"color","#167ef8"
,"padding-left","4"
,"format","yyyy-MM-dd"
,"weight","1"
,"font-size","17"
,"bindfield","qplanoutdatestar"
,"width","0"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel8.addView(qplanoutdatestar);

return panel8;
}
public View getPanel9View(final UMActivity context,IBinderGroup binderGroup) {
panel9 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL9
,"border-bottom-color","#e2e2e2"
,"background","#ffffff"
,"padding-left","10"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","CENTER"
,"padding-right","10"
,"height","44"
);
label27 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL27
,"color","#333333"
,"font-size","15"
,"valign","center"
,"widthwrap","128.0"
,"content","计划发货日期到"
,"margin-right","4"
,"margin-left","5"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
panel9.addView(label27);
qplanoutdateend = (UMDateEdit)ThirdControl.createControl(new UMDateEdit(context),ID_QPLANOUTDATEEND
,"color","#167ef8"
,"padding-left","4"
,"format","yyyy-MM-dd"
,"weight","1"
,"font-size","17"
,"bindfield","qplanoutdateend"
,"width","0"
,"font-family","default"
,"placeholder",""
,"layout-type","hbox"
,"halign","RIGHT"
,"height","fill"
);
panel9.addView(qplanoutdateend);

return panel9;
}
public View getPanel10View(final UMActivity context,IBinderGroup binderGroup) {
panel10 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL10
,"width","fill"
,"valign","top"
,"layout-type","vbox"
,"halign","CENTER"
,"height","60.0"
);
button2 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON2
,"color","#ffffff"
,"onclick","action:button2_onclick"
,"font-size","17"
,"valign","center"
,"margin-right","10"
,"margin-left","10"
,"background","#ff0000"
,"width","fill"
,"font-family","default"
,"margin-top","20"
,"layout-type","hbox"
,"halign","center"
,"value","查询"
,"height","44"
);
panel10.addView(button2);

return panel10;
}
public View getPanel0View(final UMActivity context,IBinderGroup binderGroup) {
panel0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL0
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"onload","action:panel0_onload"
,"height","fill"
);
View panel1 = (View) getPanel1View((UMActivity)context,binderGroup);
panel0.addView(panel1);
View panel2 = (View) getPanel2View((UMActivity)context,binderGroup);
panel0.addView(panel2);
View panel3 = (View) getPanel3View((UMActivity)context,binderGroup);
panel0.addView(panel3);
View panel4 = (View) getPanel4View((UMActivity)context,binderGroup);
panel0.addView(panel4);
View panel11 = (View) getPanel11View((UMActivity)context,binderGroup);
panel0.addView(panel11);
View panel5 = (View) getPanel5View((UMActivity)context,binderGroup);
panel0.addView(panel5);
View panel6 = (View) getPanel6View((UMActivity)context,binderGroup);
panel0.addView(panel6);
View panel7 = (View) getPanel7View((UMActivity)context,binderGroup);
panel0.addView(panel7);
View panel8 = (View) getPanel8View((UMActivity)context,binderGroup);
panel0.addView(panel8);
View panel9 = (View) getPanel9View((UMActivity)context,binderGroup);
panel0.addView(panel9);
View panel10 = (View) getPanel10View((UMActivity)context,binderGroup);
panel0.addView(panel10);

return panel0;
}
public View getViewPage0View(final UMActivity context,IBinderGroup binderGroup) {
viewPage0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_VIEWPAGE0
,"background","#F5F5F5"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","fill"
);
View navigatorbar0 = (View) getNavigatorbar0View((UMActivity)context,binderGroup);
viewPage0.addView(navigatorbar0);
View panel0 = (View) getPanel0View((UMActivity)context,binderGroup);
viewPage0.addView(panel0);

return viewPage0;
}
public UMWindow getCurrentWindow(final UMActivity context,IBinderGroup binderGroup) {
TransOutQuery = (UMWindow)ThirdControl.createControl(new UMWindow(context),ID_TRANSOUTQUERY
,"layout","vbox"
,"controller","TransOutQueryController"
,"namespace","com.yonyou.ncmm_pac_pda"
,"width","fill"
,"valign","TOP"
,"layout-type","linear"
,"halign","center"
,"height","fill"
);
View viewPage0 = (View) getViewPage0View((UMActivity)context,binderGroup);
TransOutQuery.addView(viewPage0);

return (UMWindow)TransOutQuery;
}

	
	public void actionImagebutton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "imagebutton0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.materialRef()",UMActivity.getViewId(control),args);
}
public void actionButton2_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button2_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.doQuery()",UMActivity.getViewId(control),args);
}
public void actionButton3_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button3_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.doClear()",UMActivity.getViewId(control),args);
}
public void actionPanel0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "panel0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.onload()",UMActivity.getViewId(control),args);
}
public void actionImagebutton2_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "imagebutton2_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.outorgRef()",UMActivity.getViewId(control),args);
}
public void actionImagebutton3_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "imagebutton3_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.inorgRef()",UMActivity.getViewId(control),args);
}
public void actionButton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.cancle()",UMActivity.getViewId(control),args);
}
public void actionImagebutton1_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "imagebutton1_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.deptRef()",UMActivity.getViewId(control),args);
}


}
